package com.baizw.cultivation.module.admin.entity.vo;

import com.baizw.cultivation.module.admin.entity.RoleEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户VO
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年04月27日 15:45
 */
@Data
@ApiModel("用户VO")
public class UserVO implements Serializable {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("登录名称")
    private String loginName;

    @ApiModelProperty("头像")
    private byte[] avatar;

    @ApiModelProperty("联系电话")
    private String telephone;

    @ApiModelProperty("最后登录IP")
    private String lastLoginIp;

    @ApiModelProperty("最后登录时间")
    private String lastLoginTime;

    @ApiModelProperty("创建人")
    private String creatorId;

    @ApiModelProperty("是否删除")
    private String deleted;

    @ApiModelProperty("角色ID")
    private Long roleId;

    @ApiModelProperty("角色")
    private RoleEntity role;

    @ApiModelProperty("角色描述")
    private String describe;
}
